import React from 'react'
import { OrderInfo } from '../../../type/types';
import OrderInfoCard from '../../../components/OrderInfoCard';
import './FaPiaoDetail.scss'
export default function FaPiaoDetail() {
    const orderData: OrderInfo = {
        orderNumber: 'XL1589965488965',
        contractNumber: 'HTDKL8699896378',
        shippingNumber: 'SL8699896378',
        
        consignor: {
          company: '上海XX科技',
          name: '张红红',
          phone: '131****8888',
          pickupAddress: '上海市长虹区11街12栋302',
          pickupContact: '张三',
          pickupContactPhone: '131****8888',
        },
        
        consignee: {
          company: '北京XX科技有限公司',
          name: '李名豪',
          phone: '131****8888',
          address: '北京市朝阳区1街129栋6号仓库',
        },
        
        plannedTimes: {
          pickupTime: '2024/09/20 09:10',
          deliveryTime: '2024/09/30 09:10',
        },
        
        goods: [
          {
            name: '白糖',
            specification: '1x0.8',
            packaging: '袋',
            quantity: 5,
            weight: 500,
            volume: 6,
          },
        ],
        
        freight: {
          unitPrice: '200.00元/kg',
          totalDistance: '200.00',
          transportFee: '5200.00',
          otherFees: '4000.00',
          additionalFees: '500.00',
          totalFee: '40500.00',
        },
        
        remarks: '尽快开票',
      };
  return (
    <div style={{ padding: 24 }}>
    <OrderInfoCard data={orderData} />
  </div>
  )
}
